package Chapter03;
import java.util.Scanner;
public class zuoye3 {
    //3.输入张三的月考成绩,判断是否合格(不少于60分算合格),用!实现
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入张三月考的成绩:");
        int num =input.nextInt();
        if(!(num>=60)){
            System.out.println("张三的月考成绩不合格！");
        }else{
            System.out.println("张三的月考成绩合格!");
        }
    }
}
